import ArrayQueue from "./01_ArrayQueue";

export default class ArrayDequeue<T> extends ArrayQueue<T> {
  addFront(value: T) {
    this.datas.unshift(value);
  }

  removeBack(): T | undefined {
    return this.datas.pop();
  }
}
